package com.copm.demonstrationsystem.dao.introductionfeatures;

import com.copm.demonstrationsystem.pojo.introductionfeatures.ProjectIntroduction;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface ProjectIntroductionDao extends JpaRepository<ProjectIntroduction, Long> {

    @Query(value = "select * from project_introduction", nativeQuery = true)
    ProjectIntroduction findPage();
}
